home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
HalveAnim.ifx
< prev
next >
Wrap
Text File
|
1996-03-02
|
770b
|
48 lines
/*
* $VER: Halve 2.0.0 (22.7.94)
*
* Arexx program for the ImageFX image processing system.
* Written by Thomas Krehbiel
*
* Revised for ImageFX release 2.0.
*
* Halve the width and height of an animation.
*
*/
OPTIONS RESULTS
SIGNAL ON BREAK_C
RequestFile '"Input animation:"' /* Get source anim name */
IF rc ~= 0 THEN EXIT
input = result
RequestFile '"Output animation:"' /* Get ouput anim name */
IF rc ~= 0 THEN EXIT
output = result
FRAME = 1
DO FOREVER
Message 'Frame' frame
Render Close
LoadBuffer input frame
IF rc ~= 0 THEN LEAVE
Redraw Off
Scale Percent 50 50
Render Go
SaveRenderedAs ANIM output APPEND KEEP
Redraw On
frame = frame + 1
END
BREAK_C:
SaveRenderedAs ANIM output CLOSE
EXIT